﻿using UnityEngine;
using System.Collections;

public class EraseRecycleBin : MonoBehaviour 
{
    void Update()
    {
        for (int i = 0; i < gameObject.transform.childCount; i++)
            GameObject.Destroy(gameObject.transform.GetChild(i).gameObject);
    }
}
